import java.util.Scanner;

public class test {
    public static int add(int a ,int b ){
        return a + b;
    }
    public static double add(double a,double b ,double c){
        return a + b + c;
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = 0;
        int b = 0;
        int c = 0;
        a = scan.nextInt();
        b = scan.nextInt();
        c = scan.nextInt();
        System.out.println("a + b =" + add(a, b));
        System.out.println("a + b + c =" + add(a, b, c));
    }
}
